.cart {
    width: 100%;
    height: 100%;
    display: flex;
    color: #333;
    flex-direction: column;
    font-size: 13px;


    .cartTitle {
        width: 100%;
        line-height: 45px;
        text-align: center;
        font-size: 18px;
    }
}

.coupon {
    width: 100%;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    box-shadow: 0 0 10px 0 #eee;
    position: relative;

    .redSixe {
        span {
            color: #ffa500;
        }
    }

    .clearCart {
        position: fixed;
        top: 10px;
        right: 10px;
        z-index: 99999;
        padding: 5px 10px;
        background: #f5f5f5;
        border-radius: 10px;


    }
}

.cartContent {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    height: 45px;

}

.cartCardBox {
    width: 100%;
    height: 116px;
}

// 商品卡片的css
.card {
    width: 92%;
    height: 92%;
    margin: 4%;
    background-color: #fff;
    display: flex;
    align-items: center;
}

.cardBox {
    flex: 1;
    display: flex;
    align-items: center;
}


.cardContent {
    width: 200px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 13px;
    overflow-y: auto;

    .cardContentTitle {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        // width: 180px;
        word-break: break-all;
    }

    .cardContentSpan1 {
        margin-top: 5px;
        display: inline-block;
        background-color: wheat;
        border-radius: 10px;
        color: #ff8c00;
        line-height: 20px;
        padding: 0 10px;
    }

    .cardContentSpan2 {
        background-color: pink;
        border-radius: 5px;
        color: #d71345;
        line-height: 20px;
        margin: 5px 0;
        padding: 0 5px;
        display: inline-block;
    }

    .cardContentBox {
        display: flex;
        color: #d71345;
        align-items: center;
        justify-content: space-between;

        span {
            font-size: 22px;
        }


    }

}

img {
    width: 100px;
    // height: 100px;
}

.foot {
    width: 100%;
    height: 60px;
}

// 遮罩层
.clearBox1 {
    width: 100%;
    height: 100%;
    background-color: rgba($color: #f5f5f5, $alpha: 0.5);
    position: absolute;
}

.showClear {
    width: 300px;
    height: 100px;
    background-color: #eee;
    border-radius: 20px;
    display: flex;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    flex-direction: column;
    align-items: center;
    justify-content: space-around;

    p {
        text-align: center;
        font-size: 18px;
    }

    .showClearBtns {
        width: 100%;
        display: flex;
        justify-content: space-around;

        span {
            width: 80px;
            height: 30px;
            font-size: 13px;
            text-align: center;
            line-height: 30px;
            background-color: #1677ff;
            //  padding: 15px;
            color: #fff;
            border-radius: 15px;
        }
    }
}


.submitBox {
    width: 100%;
    height: 70px;
    padding: 15px;
    display: flex;
    justify-content: space-between;

    .subBoxContent {
        display: flex;
        align-items: center;

        p {
            font-size: 13px;
            color: #333;


            .subBoxspan1 {
                color: #f00;
            }

            .subBoxspan2 {
                font-size: 22px;
                color: #f00;
            }
        }

        .subBoxbtn {
            background-color: red;
            border-radius: 20px;
            color: #fff;
            display: inline-block;
            font-size: 18px;
            font-weight: 700;
            line-height: 40px;
            margin-left: 10px;
            padding: 0 20px;
        }
    }
}